#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdbool.h>
int countAsterisks(char* s) {
    bool value = true;
    int i = 0;
    int ans = 0;
    for (i = 0; s[i] != '\0'; i++)
    {
        if (s[i] == '|')
        {
            value = !value;
        }
        else if (s[i] == '*' && value)
        {
            ans++;
        }
    }
    return ans;
}

int main()
{

	return 0;
}